Title Banner


Technical Q&A's


GXPD 19 - Tray Mismatch Dialog in QuickDraw GX 1.1.1b1 (1-May-95)


Q I installed QuickDraw GX 1.1.1b1 and tried some of our printer drivers with it. The first print job after a DTP is created displays a 'Paper Mismatch Alert' alert, stating that the wrong paper is loaded in the printer. Selecting the 'Load Tray' option with 'Make paper change permanent' checked keeps the alert from showing again. Looking in the DTP file, I noticed a 'binp' resource, but I couldn't find a definition for this resource in the new header files.

What is the 'binp' resource type definition?

How do I prevent the 'Paper Mismatch Alert' from always appearing in the first print job?

A Starting with 1.1b1, QuickDraw GX presents a tray-mismatch dialog whenever a printer tray contains an "unknown" paper type. Although this is the correct behavior, users are presented with the tray-mismatch dialog the first time they print, unless they first define the paper types in the printer via the "Input Trays..." dialog.

Since users may be mystified or miffed by the increased frequency of seeing the paper-mismatch dialog, we put a change in place to reduce that frequency quite a bit. Now, when you create a desktop printer, the DTP's default tray is configured with the driver's default papertype (only if gxDoesPaperFit succeeds, of course). For most US drivers, this means that US Letter is stored in the DTP, and you don't get alerted unless you print with a papertype other than US Letter.

The 'binp' resource is an undocumented, private resource used by GX to store the current tray setting of a DTP. Because this is a private resource type, it is subject to change in future versions of GX, so don't access it directly -- use GXSetTrayPaperType instead.

Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help